export const state = () => {
  return {
    token: "",
  };
};

export const mutations = {
  setToken(state, token) {
    state.token = token;
  },
};

export const actions = {
  nuxtServerInit(store, context) {
    store.commit("setToken", "123123");
    console.log("nuxt Server Init");
  },
};
